/**
 * 
 */
package com.itinsys.enma.manager;

import java.util.Map;

import com.itinsys.enma.domain.Environment;
import com.itinsys.enma.domain.Shift;
import com.itinsys.enma.domain.response.EnvironmentResponse;
import com.itinsys.enma.domain.response.ResourceResponse;

/**
 * @author pferraz
 *
 */
public interface EnvironmentManager {

	public EnvironmentResponse getAllActiveEnvironment();

	public EnvironmentResponse getById(long id);

	public EnvironmentResponse getByDesc(String environment);

	Environment getEnvByDesc(String desc);

	EnvironmentResponse getEnvironmentByFilter(Map<String, Object> conditions,int requestMode, String schoolId);

	public boolean envBelongToSchoolAndTurn(String schoolId, Shift shift, int environmentId);
	
	public EnvironmentResponse addEnvironment(Environment environment);

	public EnvironmentResponse editEnvironment(Environment environment);

	public EnvironmentResponse deleteEnvironment(Environment env);

	public EnvironmentResponse getAllEnvironment();

	public ResourceResponse getResourcesByEnvironment(int environmentId);
	
}
